Skip to content

feat!: support events#200

Merged
elringus merged 10 commits intomainfrom
feat/events
May 1, 2026
Merged

feat!: support events#200
elringus merged 10 commits intomainfrom
feat/events

Conversation

@elringus
Copy link
Copy Markdown
Owner

@elringus elringus commented Apr 29, 2026

This adds support for C# events and resolves #179 (breaking).

The old hack with transmuting C# methods with specific name patterns into JS events is removed: you can use normal C# events with the supported delegate types (Action<>, EventHandler<> or any custom delegate without a return type) on both imported and exported APIs and they will cleanly materialize as Event<> on the JS side.

This also removes implicit references to the internal types, which allowed to remove the dynamic dependencies wiring, resulting is smaller build sizes.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (5dde991) to head (4e25b68).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #200   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           55        56    +1     
  Lines         2656      2738   +82     
  Branches       452       445    -7     
=========================================
+ Hits          2656      2738   +82     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@elringus elringus merged commit f9e1dfd into main May 1, 2026
8 checks passed
@elringus elringus deleted the feat/events branch May 1, 2026 14:59
@OptimusPi
Copy link
Copy Markdown

IT WORRKKKS SOOO HAPPPYYY💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consolidate attribute names

2 participants